package com.ruoyi.standingbook.sanitationvehicle.service;

import com.ruoyi.standingbook.sanitationvehicle.domain.bo.SanitationVehicleImportDetailBo;
import com.ruoyi.standingbook.sanitationvehicle.domain.vo.SanitationVehicleImportDetailVo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 公园管养导入明细Service接口
 *
 * @author cc
 * @date 2023-08-29
 */
public interface ISanitationVehicleImportDetailService {

    /**
     * 查询公园管养导入明细
     */
	SanitationVehicleImportDetailVo queryById(Long id);

    /**
     * 查询公园管养导入明细列表
     */
    TableDataInfo<SanitationVehicleImportDetailVo> queryPageList(SanitationVehicleImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询公园管养导入明细列表
     */
    List<SanitationVehicleImportDetailVo> queryList(SanitationVehicleImportDetailBo bo);

    /**
     * 新增公园管养导入明细
     */
    Boolean insertByBo(SanitationVehicleImportDetailBo bo);

    /**
     * 修改公园管养导入明细
     */
    Boolean updateByBo(SanitationVehicleImportDetailBo bo);

    /**
     * 校验并批量删除公园管养导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    Boolean batchInsertOrUpdate(List<SanitationVehicleImportDetailVo> voList);
}
